package org.wevil.entity.witcher3;

import org.wevil.entity.witcher3.pk.PKWitcher3AlchemySubstances;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.*;

@EntityListeners(AuditingEntityListener.class)
@IdClass(PKWitcher3AlchemySubstances.class)
@Table(name = "witcher3_alchemy_substances")
@Entity
@Getter
@Setter
public class Witcher3AlchemySubstances {
    @Id
    Integer idAlchemy;
    @Id
    Integer idSubstance;
}
